NXT_GetFirmwareVersion
Returns the protocol and firmware version of the NXT
Contents
Syntax
[protocol_version firmware_version] = NXT_GetFirmwareVersion()
[protocol_version firmware_version] = NXT_GetFirmwareVersion(handle)
Description
[protocol_version firmware_version] = NXT_GetFirmwareVersion() returns the protocol and firmware version of the NXT as strings.
[protocol_version firmware_version] = NXT_GetFirmwareVersion(handle) uses the given NXT connection handle. This should be a struct containing a serial handle on a PC system and a file handle on a Linux system.
If no NXT handle is specified the default one (COM_GetDefaultNXT) is used.
Examples
[protocol_version firmware_version] = NXT_GetFirmwareVersion();
handle = COM_OpenNXT('bluetooth.ini','check'); [protocol_version firmware_version] = NXT_GetFirmwareVersion(handle);
See also
Signature
- Author: Alexander Behrens (see AUTHORS)
- Date: 2008/05/22
- Copyright: 2007-2008, RWTH Aachen University